/**
 ******************************************************
 * 作者:朱雍
 * 备注:
 * 时间:2017年3月2日下午2:34:57
 * Copyright (c) 2017, 243813208@qq.com All Rights Reserved.
 ******************************************************
 */

package cn.sxt.yxl.users.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 类名:ARole 
 * 备注:	 
 * 时间:2017年3月2日 下午2:34:57
 * 作者:朱雍
 * @since  	JDK 1.8	 
 */
public class ARole implements Serializable{
	private int id;
	private String name;
	private String content;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	private Set<AAdmins> admins = new HashSet<>();
	
	
	public Set<AAdmins> getAdmins() {
		return admins;
	}
	public void setAdmins(Set<AAdmins> admins) {
		this.admins = admins;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public byte getStatus() {
		return status;
	}
	public void setStatus(byte status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getPubTime() {
		return pubTime;
	}
	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}
	@Override
	public String toString() {
		return "ARole [id=" + id + ", name=" + name + ", content=" + content + ", status=" + status + ", createTime="
				+ createTime + ", updateTime=" + updateTime + ", pubTime=" + pubTime + ", admins=" + admins + "]";
	}
	
}

